<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>

   <head>
      <title>Veiling Lijst</title>

   </head>

   <body>
	    <h4>Alle veilingen</h4>
	    
	    <hr />

	    <table>
		    <tr class="thcolor">
			    <th>Start datum,</th>
			    <th>eind datum,</th>
			    <th>minimumbedrag,</th>
			    <th>naam goed,</th>
			    <th>categorie goed,</th>
			    <th>beschrijving goed,</th>
			    <th>ID Veiling,</th>
			    <th>Naam Veiler</th>
		    </tr>
		    <s:iterator value="veilingen">
			    <tr class="tdcolor">
				    <td><s:property value="startDatum" /></td>
					<td><s:property value="sluitDatum" /></td>
		     		<td><s:property value="minimumBedrag" /></td>
		     		<td><s:property value="naam" /></td>
		     		<td><s:property value="categorie.naam" /></td>
		     		<td><s:property value="beschrijving" /></td>
		     		<td><s:property value="veilingId" /></td>
		     		<td><s:property value="veiler.username" /></td>
		     		<td>
		     		<a href="<s:url action="showVeiling" namespace="/visitor"><s:param name="veilingId"><s:property value="veilingId" /></s:param></s:url>">Toon veiling</a>
					</td>
		        	</tr>
 		    </s:iterator>
	    </table>
  		 <hr />	    
	</body> 
</html>
 